<el-dialog title="角色信息" :visible.sync="show" :modal-append-to-body="false" :close-on-click-modal="false">

    <el-form label-position="right" label-width="80px" :model="entity" :rules="rules" ref="editForm">
        <el-form-item label="角色名称" prop="name">
            <el-input v-model="entity.name" size="small"></el-input>
        </el-form-item>
        <el-form-item label="角色编码" prop="code">
            <el-input v-model="entity.code" size="small"></el-input>
        </el-form-item>
        <el-form-item label="备注" prop="memo">
            <el-input v-model="entity.memo" type="textarea" :rows="10" size="small"></el-input>
        </el-form-item>
    </el-form>

    <div slot="footer">
        <el-button size="small" @click="close">取消</el-button>
        <el-button type="primary" size="small" @click="save" :disabled="disabled">提交</el-button>
    </div>

</el-dialog>
